//
//  ClassTest.swift
//  swift的基础语法
//
//  Created by lanou on 16/10/27.
//  Copyright (c) 2016年 lanou. All rights reserved.
//

import Foundation

class ClassTest: NSObject {
//   必选类型的初始化
    var name:String?
    var age:Int?
    //继承父类
    override init() {
        name = "heshuai"
        age = 21
        
    super.init()
    }

}
